LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := libhandler

#LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := \
	Looper.cpp \
	RefBase.cpp \
	SharedBuffer.cpp \
	StrongPointer.cpp \
	Threads.cpp \
	Timers.cpp \
	VectorImpl.cpp \
	safe_iop.c \
	HandlerThread.cpp \
	handler_imp.cpp \

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/include \

# 注释此行如果你希望保留符合和调试信息
#LOCAL_STRIP_MODULE := false
# 依赖的动态库
LOCAL_SHARED_LIBRARIES := liblog
# C编译器选项
LOCAL_CFLAGS := -Wall -Werror 
#LOCAL_CFLAGS :=

# C++编译器选项
LOCAL_CPPFLAGS :=

# 链接器选项
# 如果需要引用sysroot中的库，请在此指定，例如引用pthread和math
# LOCAL_LDFLAGS := -lpthread -lm
LOCAL_LDFLAGS := -lpthread 

include $(BUILD_SHARED_LIBRARY)
